<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://ckeditor.com" prefix="ckeditor"%>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" href="<c:url value='/resources/styles/main.css' />" type="text/css"/>
    <link type="text/css" rel="stylesheet" href="<c:url value='/resources/ckeditor/_samples/sample.css' />" />
    <script type="text/javascript">

    </script>
    <title>会议内容维护</title>
</head>
<body>
<%--<table class="header">--%>
    <%--<tr>--%>
        <%--<td>--%>
            <%--<h1>内容维护</h1>--%>
        <%--</td>--%>
    <%--</tr>--%>
<%--</table>--%>
<table class="pagination" style="padding-left: 70px;">
    <tr>
        <td>
            <c:if test="${isList=='true'}">
            <a href="<c:url value='/admin/listContent.do?type=${type}' />">返回内容列表</a>
            </c:if>
        </td>
    </tr>
</table>
<form id="addContent" name="addContent" action="<c:url value='/admin/editContentAction.do' />" method="post">
    <%--<table class="list">--%>
        <%--<tr>--%>
            <%--<td>内容类型</td>--%>
            <%--<td>--%>

                <%--<c:out value="${data.title}" />--%>
            <%--</td>--%>
        <%--</tr>--%>
    <%--</table>--%>

    </table>
    经度：<input type="text" id="lgt" name="lgt" value="${data.longitude}"/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    纬度：    <input type="text" id="lat" name="lat" value="${data.latitude}"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </br>
        名称：<input type="text" id="coordName" name="coordName" value="${data.coordName}"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        地址：<input type="text" id="coordAddr" name="coordAddr" value="${data.coordAddr}"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </br> 标题：<input type="text" id="title" name="title" value="${data.title}" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        序号：<input type="text" id="seq" name="seq" value="${data.seq}" />
    <textarea id='content' name='content'>${data.content}</textarea>
    <ckeditor:replace  replace="content" basePath="../resources/ckeditor/"  /> </br>

    <input type='hidden' id='type' name='type' value="${data.type}" />
    <input type='hidden' id='id' name='id' value="${data.id}" />
    <input type='hidden' id='entryDate' name='entryDate' value="${data.entryDate}" />
        <div style="text-align: center"><input type='submit'  value="提交" /></div>
</form>
</body>
</html>